#pragma once
#include "type_definition.h"
#include <vector>
#include <set>
#include <string>

class CC_Calculator
{
public:
	CC_Calculator(void);
	~CC_Calculator(void);
	bool set_graph(Graph grp_in);
	bool set_vm(VertexMap vm_in);
	bool set_subgroup(std::vector<std::set<std::string>> subgrp_in);
	float calc_cc(std::set<std::string> target);
	bool calc_measure();
	bool set_TH(float TH_in);
	std::vector<std::set<std::string>> ret_val_measure();

private:
	Graph loc_graph;
	VertexMap vm;
	std::vector<std::pair<std::set<std::string>, float>> rest;
	std::vector<std::set<std::string>> subgrp;
	float TH;
	

};

